//
//  BookHead.swift
//  GOFM
//
//  Created by siri on 2024/10/22.
//  Copyright © 2024 Glad. All rights reserved.
//

import SwiftUI

struct IdleTimeHead: View {
    var body: some View {
        HStack {
            Text("04月 第四周").offset(x: 30)
            Spacer()
            Text("共有空闲时间").offset(x: -30)
            Rectangle().frame(width: 40,height: 20).foregroundColor(Color(hex:"#89b6fa")).offset(x: -30)
        }
    }
}

struct IdleTimeHead_Previews: PreviewProvider {
    static var previews: some View {
        IdleTimeHead()
    }
}
